home *** CD-ROM | disk | FTP | other *** search
Java Source | 2005-11-07 | 28.3 KB | 510 lines |
- // _ActivationPrefs_EOArchive.java
- // Generated by EnterpriseObjects palette at Donnerstag, 3. M\u00e4rz 2005 10:19 Uhr Europe/Berlin
-
- import com.webobjects.eoapplication.*;
- import com.webobjects.eocontrol.*;
- import com.webobjects.eointerface.*;
- import com.webobjects.eointerface.swing.*;
- import com.webobjects.foundation.*;
- import java.awt.*;
- import javax.swing.*;
- import javax.swing.border.*;
- import javax.swing.table.*;
- import javax.swing.text.*;
-
- public class _ActivationPrefs_EOArchive extends com.webobjects.eoapplication.EOArchive {
- IBHelpConnector _iBHelpConnector0;
- com.webobjects.eointerface.swing.EOFrame _eoFrame0, _eoFrame1;
- com.webobjects.eointerface.swing.EOImageView _nsImageView0;
- com.webobjects.eointerface.swing.EOMatrix _nsMatrix0;
- com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1, _nsTextField2, _nsTextField3, _nsTextField4, _nsTextField5, _nsTextField6;
- com.webobjects.eointerface.swing.EOView _nsBox0, _nsBox1, _nsBox2, _nsBox3, _nsBox4, _nsBox5;
- com.webobjects.foundation.NSNumberFormatter _nsNumberFormatter0;
- javax.swing.JButton _nsButton0, _nsButton1, _nsButton2, _nsButton3, _nsButton4;
- javax.swing.JCheckBox _nsButton5, _nsButton6, _nsButton7, _nsButton8;
- javax.swing.JPanel _nsView0, _nsView1;
- javax.swing.JRadioButton _jRadioButton0, _jRadioButton1, _jRadioButton2;
-
- public _ActivationPrefs_EOArchive(Object owner, NSDisposableRegistry registry) {
- super(owner, registry);
- }
-
- protected void _construct() {
- Object owner = _owner();
- EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null;
- Object replacement;
-
- super._construct();
-
- _nsNumberFormatter0 = (com.webobjects.foundation.NSNumberFormatter)_registered(new com.webobjects.foundation.NSNumberFormatter("0;-0"), "");
- _iBHelpConnector0 = (IBHelpConnector)_registered(new IBHelpConnector(), "");
- _nsButton4 = (javax.swing.JButton)_registered(new javax.swing.JButton(""), "NSButton3111");
- _nsTextField6 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField21");
- _nsTextField5 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2");
- _nsBox5 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
- _nsBox4 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox11");
- _nsBox3 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
- _nsBox2 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox1");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "checkNowButton")) != null)) {
- _nsButton3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton3");
- } else {
- _nsButton3 = (javax.swing.JButton)_registered(new javax.swing.JButton("Check Now"), "NSButton2");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "autoCurrentDayButton")) != null)) {
- _nsButton8 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton8");
- } else {
- _nsButton8 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Select current day on opening calendar"), "NSButton4121");
- }
-
- _nsBox1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView1");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "openiCalInDayViewButtonSeparator")) != null)) {
- _nsBox0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOView)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsBox0");
- } else {
- _nsBox0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox11111");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "updateCheckButton")) != null)) {
- _nsButton7 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton7");
- } else {
- _nsButton7 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Automatic update check"), "NSButton411");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "openiCalInDayViewButton")) != null)) {
- _nsButton6 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton6");
- } else {
- _nsButton6 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Double-click opens iCal in Day View"), "NSButton111111");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "secondsField")) != null)) {
- _nsTextField4 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsTextField4");
- } else {
- _nsTextField4 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "restoreDefaultButton")) != null)) {
- _nsButton2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton2");
- } else {
- _nsButton2 = (javax.swing.JButton)_registered(new javax.swing.JButton("Restore Default"), "NSButton1");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "registerNoteLabel")) != null)) {
- _nsTextField3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsTextField3");
- } else {
- _nsTextField3 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111");
- }
-
- _nsButton1 = (javax.swing.JButton)_registered(new javax.swing.JButton("Cancel"), "NSButton");
- _nsImageView0 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
- _nsTextField2 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111");
- _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "hotkeySheet")) != null)) {
- _eoFrame1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
- _replacedObjects.setObjectForKey(replacement, "_eoFrame1");
- } else {
- _eoFrame1 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Sheet");
- }
-
- _nsView1 = (JPanel)_eoFrame1.getContentPane();
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "currentHotkeyTextField")) != null)) {
- _nsTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsTextField0");
- } else {
- _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "defineHotkeyButton")) != null)) {
- _nsButton0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton0");
- } else {
- _nsButton0 = (javax.swing.JButton)_registered(new javax.swing.JButton("Set Hotkey"), "NSButton");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "hotkeyCheckbox")) != null)) {
- _nsButton5 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsButton5");
- } else {
- _nsButton5 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Hotkey Activation"), "NSButton4");
- }
-
- _jRadioButton2 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "");
- _jRadioButton1 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton("When using other applications"), "");
- _jRadioButton0 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton("Never"), "");
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "autoHideOptionsCheckboxes")) != null)) {
- _nsMatrix0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOMatrix)replacement;
- _replacedObjects.setObjectForKey(replacement, "_nsMatrix0");
- } else {
- _nsMatrix0 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(3, 1, 4, 2), "NSMatrix1");
- }
-
- if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_window")) != null)) {
- _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
- _replacedObjects.setObjectForKey(replacement, "_eoFrame0");
- } else {
- _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Window");
- }
-
- _nsView0 = (JPanel)_eoFrame0.getContentPane();
- }
-
- protected void _awaken() {
- super._awaken();
-
- if (_replacedObjects.objectForKey("_eoFrame0") == null) {
- _connect(_eoFrame0, _owner(), "delegate");
- }
-
- _nsButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updateCheckNow", _nsButton3), ""));
-
- if (_replacedObjects.objectForKey("_nsButton3") == null) {
- _connect(_owner(), _nsButton3, "checkNowButton");
- }
-
- _nsButton8.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton8), ""));
-
- if (_replacedObjects.objectForKey("_nsButton8") == null) {
- _connect(_owner(), _nsButton8, "autoCurrentDayButton");
- }
-
- if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
- _connect(_owner(), _nsMatrix0, "autoHideOptionsCheckboxes");
- }
-
- if (_replacedObjects.objectForKey("_nsBox0") == null) {
- _connect(_owner(), _nsBox0, "openiCalInDayViewButtonSeparator");
- }
-
- _nsButton7.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton7), ""));
-
- if (_replacedObjects.objectForKey("_nsButton7") == null) {
- _connect(_owner(), _nsButton7, "updateCheckButton");
- }
-
- _nsButton6.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton6), ""));
-
- if (_replacedObjects.objectForKey("_nsButton6") == null) {
- _connect(_owner(), _nsButton6, "openiCalInDayViewButton");
- }
-
- _nsTextField4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsTextField4), ""));
-
- if (_replacedObjects.objectForKey("_nsTextField4") == null) {
- _connect(_owner(), _nsTextField4, "secondsField");
- }
-
- _nsButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "restoreDefault", _nsButton2), ""));
-
- if (_replacedObjects.objectForKey("_nsButton2") == null) {
- _connect(_owner(), _nsButton2, "restoreDefaultButton");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField3") == null) {
- _connect(_owner(), _nsTextField3, "registerNoteLabel");
- }
-
- if (_replacedObjects.objectForKey("_eoFrame1") == null) {
- _connect(_eoFrame1, _owner(), "delegate");
- }
-
- _nsButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "cancelPressed", _nsButton1), ""));
-
- if (_replacedObjects.objectForKey("_eoFrame1") == null) {
- _connect(_owner(), _eoFrame1, "hotkeySheet");
- }
-
- if (_replacedObjects.objectForKey("_nsTextField0") == null) {
- _connect(_owner(), _nsTextField0, "currentHotkeyTextField");
- }
-
- if (_replacedObjects.objectForKey("_nsButton0") == null) {
- _connect(_owner(), _nsButton0, "defineHotkeyButton");
- }
-
- _nsButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "defineHotkey", _nsButton0), ""));
-
- if (_replacedObjects.objectForKey("_nsButton0") == null) {
- _connect(_owner(), _nsButton0, "_lastKeyView");
- }
-
- if (_replacedObjects.objectForKey("_nsButton5") == null) {
- _connect(_owner(), _nsButton5, "hotkeyCheckbox");
- }
-
- if (_replacedObjects.objectForKey("_nsButton5") == null) {
- _connect(_owner(), _nsButton5, "_initialKeyView");
- }
-
- _nsButton5.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton5), ""));
-
- if (_replacedObjects.objectForKey("_nsButton5") == null) {
- _connect(_owner(), _nsButton5, "_firstKeyView");
- }
-
- if (_replacedObjects.objectForKey("_eoFrame0") == null) {
- _connect(_owner(), _eoFrame0, "_window");
- }
-
- _jRadioButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _jRadioButton0), ""));
- _jRadioButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _jRadioButton1), ""));
- _jRadioButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _jRadioButton2), ""));
- }
-
- protected void _init() {
- super._init();
- _nsNumberFormatter0.setMinimum(new java.math.BigDecimal("0"));
- _nsNumberFormatter0.setMaximum(new java.math.BigDecimal("999"));
- _setFontForComponent(_nsButton4, "Lucida Grande", 13, Font.PLAIN + Font.BOLD);
- _nsButton4.setMargin(new Insets(0, 2, 0, 2));
- _setFontForComponent(_nsTextField6, "Lucida Grande", 13, Font.PLAIN);
- _nsTextField6.setEditable(false);
- _nsTextField6.setOpaque(false);
- _nsTextField6.setText("seconds after opening");
- _nsTextField6.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField6.setSelectable(false);
- _nsTextField6.setEnabled(true);
- _nsTextField6.setBorder(null);
- _setFontForComponent(_nsTextField5, "Lucida Grande", 13, Font.PLAIN);
- _nsTextField5.setEditable(false);
- _nsTextField5.setOpaque(false);
- _nsTextField5.setText("Hide Calendar automatically:");
- _nsTextField5.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField5.setSelectable(false);
- _nsTextField5.setEnabled(true);
- _nsTextField5.setBorder(null);
- if (!(_nsBox4.getLayout() instanceof EOViewLayout)) { _nsBox4.setLayout(new EOViewLayout()); }
- _nsBox5.setSize(125, 1);
- _nsBox5.setLocation(2, 2);
- ((EOViewLayout)_nsBox4.getLayout()).setAutosizingMask(_nsBox5, EOViewLayout.MinYMargin);
- _nsBox4.add(_nsBox5);
- _nsBox4.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
- if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); }
- _nsBox3.setSize(125, 1);
- _nsBox3.setLocation(2, 2);
- ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin);
- _nsBox2.add(_nsBox3);
- _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
-
- if (_replacedObjects.objectForKey("_nsButton3") == null) {
- _setFontForComponent(_nsButton3, "Lucida Grande", 13, Font.PLAIN);
- _nsButton3.setMargin(new Insets(0, 2, 0, 2));
- }
-
- if (_replacedObjects.objectForKey("_nsButton8") == null) {
- _setFontForComponent(_nsButton8, "Lucida Grande", 13, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_nsBox0") == null) {
- if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); }
- _nsBox1.setSize(125, 1);
- _nsBox1.setLocation(2, 2);
- ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin);
- _nsBox0.add(_nsBox1);
- _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
- }
-
- if (_replacedObjects.objectForKey("_nsButton7") == null) {
- _setFontForComponent(_nsButton7, "Lucida Grande", 13, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_nsButton6") == null) {
- _setFontForComponent(_nsButton6, "Lucida Grande", 13, Font.PLAIN);
- }
-
- if (_replacedObjects.objectForKey("_nsTextField4") == null) {
- _setFontForComponent(_nsTextField4, "Lucida Grande", 11, Font.PLAIN);
- _nsTextField4.setEditable(true);
- _nsTextField4.setOpaque(true);
- _nsTextField4.setText("20");
- _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.CENTER);
- _nsTextField4.setSelectable(true);
- _nsTextField4.setEnabled(true);
- }
-
- if (_replacedObjects.objectForKey("_nsButton2") == null) {
- _setFontForComponent(_nsButton2, "Lucida Grande", 11, Font.PLAIN);
- _nsButton2.setMargin(new Insets(0, 2, 0, 2));
- }
-
- if (_replacedObjects.objectForKey("_nsTextField3") == null) {
- _setFontForComponent(_nsTextField3, "Lucida Grande", 10, Font.PLAIN);
- _nsTextField3.setEditable(false);
- _nsTextField3.setOpaque(false);
- _nsTextField3.setText("Please register to enable this feature.");
- _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
- _nsTextField3.setSelectable(false);
- _nsTextField3.setEnabled(true);
- _nsTextField3.setBorder(null);
- }
-
- _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN);
- _nsButton1.setMargin(new Insets(0, 2, 0, 2));
- _setFontForComponent(_nsTextField2, "Lucida Grande", 10, Font.PLAIN);
- _nsTextField2.setEditable(false);
- _nsTextField2.setOpaque(false);
- _nsTextField2.setText("Note: At least one modifier (Command, Option, Control) or an 'F'-key must be used.");
- _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField2.setSelectable(false);
- _nsTextField2.setEnabled(true);
- _nsTextField2.setBorder(null);
- _setFontForComponent(_nsTextField1, "Lucida Grande", 13, Font.PLAIN);
- _nsTextField1.setEditable(false);
- _nsTextField1.setOpaque(false);
- _nsTextField1.setText("Set the activation hotkey by pressing the desired key combination.");
- _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField1.setSelectable(false);
- _nsTextField1.setEnabled(true);
- _nsTextField1.setBorder(null);
- if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); }
- _nsTextField1.setSize(193, 72);
- _nsTextField1.setLocation(124, 5);
- ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin);
- _nsView1.add(_nsTextField1);
- _nsTextField2.setSize(312, 30);
- _nsTextField2.setLocation(5, 87);
- ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinYMargin);
- _nsView1.add(_nsTextField2);
- _nsImageView0.setSize(103, 80);
- _nsImageView0.setLocation(7, 3);
- ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin);
- _nsView1.add(_nsImageView0);
- _nsButton1.setSize(121, 26);
- _nsButton1.setLocation(196, 125);
- ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinYMargin);
- _nsView1.add(_nsButton1);
-
- if (_replacedObjects.objectForKey("_eoFrame1") == null) {
- _nsView1.setSize(326, 161);
- _eoFrame1.setTitle("Menu Calendar: Set Hotkey");
- _eoFrame1.setLocation(48, 296);
- _eoFrame1.setSize(326, 161);
- }
-
- if (_replacedObjects.objectForKey("_nsTextField0") == null) {
- _setFontForComponent(_nsTextField0, "Lucida Grande", 13, Font.PLAIN);
- _nsTextField0.setEditable(false);
- _nsTextField0.setOpaque(false);
- _nsTextField0.setText("Current hotkey is \"%@\".");
- _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT);
- _nsTextField0.setSelectable(false);
- _nsTextField0.setEnabled(true);
- _nsTextField0.setBorder(null);
- }
-
- if (_replacedObjects.objectForKey("_nsButton0") == null) {
- _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN);
- _nsButton0.setMargin(new Insets(0, 2, 0, 2));
- }
-
- if (_replacedObjects.objectForKey("_nsButton5") == null) {
- _setFontForComponent(_nsButton5, "Lucida Grande", 13, Font.PLAIN);
- }
-
- _setFontForComponent(_jRadioButton2, "Lucida Grande", 13, Font.PLAIN);
- _setFontForComponent(_jRadioButton1, "Lucida Grande", 13, Font.PLAIN);
- _setFontForComponent(_jRadioButton0, "Lucida Grande", 13, Font.PLAIN);
-
- if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
- _jRadioButton0.setSize(378, 22);
- _jRadioButton0.setLocation(0, 0);
- _nsMatrix0.add(_jRadioButton0);
- _jRadioButton1.setSize(378, 22);
- _jRadioButton1.setLocation(0, 24);
- _nsMatrix0.add(_jRadioButton1);
- _jRadioButton2.setSize(378, 22);
- _jRadioButton2.setLocation(0, 48);
- _nsMatrix0.add(_jRadioButton2);
- _setFontForComponent(_nsMatrix0, "Lucida Grande", 13, Font.PLAIN);
- }
-
- if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); }
- _nsMatrix0.setSize(378, 70);
- _nsMatrix0.setLocation(30, 38);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsMatrix0, EOViewLayout.MinYMargin);
- _nsView0.add(_nsMatrix0);
- _nsButton5.setSize(243, 17);
- _nsButton5.setLocation(11, 132);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton5, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton5);
- _nsButton0.setSize(156, 26);
- _nsButton0.setLocation(254, 180);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton0);
- _nsTextField0.setSize(348, 17);
- _nsTextField0.setLocation(42, 155);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin);
- _nsView0.add(_nsTextField0);
- _nsTextField3.setSize(368, 13);
- _nsTextField3.setLocation(42, 206);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinYMargin);
- _nsView0.add(_nsTextField3);
- _nsButton2.setSize(138, 22);
- _nsButton2.setLocation(271, 130);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton2);
- _nsTextField4.setSize(36, 19);
- _nsTextField4.setLocation(51, 87);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinYMargin);
- _nsView0.add(_nsTextField4);
- _nsButton7.setSize(238, 17);
- _nsButton7.setLocation(11, 238);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton7, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton7);
- _nsBox2.setSize(393, 5);
- _nsBox2.setLocation(13, 117);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinYMargin);
- _nsView0.add(_nsBox2);
- _nsBox4.setSize(393, 5);
- _nsBox4.setLocation(13, 220);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox4, EOViewLayout.MinYMargin);
- _nsView0.add(_nsBox4);
- _nsTextField5.setSize(399, 17);
- _nsTextField5.setLocation(11, 14);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField5, EOViewLayout.MinYMargin);
- _nsView0.add(_nsTextField5);
- _nsTextField6.setSize(335, 17);
- _nsTextField6.setLocation(92, 88);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField6, EOViewLayout.MinYMargin);
- _nsView0.add(_nsTextField6);
- _nsButton3.setSize(156, 26);
- _nsButton3.setLocation(254, 234);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton3);
- _nsButton4.setSize(21, 24);
- _nsButton4.setLocation(385, 299);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton4, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton4);
- _nsButton8.setSize(397, 17);
- _nsButton8.setLocation(11, 283);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton8, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton8);
- _nsBox0.setSize(393, 5);
- _nsBox0.setLocation(13, 267);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.MinYMargin);
- _nsView0.add(_nsBox0);
- _nsButton6.setSize(368, 17);
- _nsButton6.setLocation(11, 305);
- ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton6, EOViewLayout.MinYMargin);
- _nsView0.add(_nsButton6);
-
- if (_replacedObjects.objectForKey("_eoFrame0") == null) {
- _nsView0.setSize(421, 333);
- _eoFrame0.setTitle("Activation");
- _eoFrame0.setLocation(58, 400);
- _eoFrame0.setSize(421, 333);
- }
- }
- }
-